DecryptStr
DecryptStr(var Text,var Pass,var Algorithm)
  This function is the opposite of the EncryptStr function, it decrypts an already encrypted string. This function has three arguments. The first one is the encrypted string that you want to decrypt. The second one is the password required for decryption and the last one specifies what algorithm to use for decryption.
 
  Algorithms:
    0 = Blowfish (128-bit)
    1 = DES (56-bit)
    2 = TripleDES (168-bit)
    3 = Rijndael (128-bit)
    4 = Rijndael (192-bit)
    5 = Rijndael (256-bit)
 
  Example:
 

function main()
{
     var Encrypted;
     var Decrypted;

     Encrypted = EncryptStr("This is a string.","MyPassword",5);
     MessageBox(Encrypted,"Encrypted String",0,0);

     Decrypted = DecryptStr(Encrypted,"MyPassword",5);
     MessageBox(Decrypted,"Decrypted String",0,0);
}